package com.artPreter.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 板块-文章关系表
 * </p>
 *
 * @author jarvis
 * @since 2024-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("jv_content_article_relative")
public class ContentArticleRelative implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 内容id
     */
    private String contentId;

    /**
     * 文章id
     */
    private String articleId;

    /**
     * 绑定时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createTime;

    private Integer sort;


}
